<%@page import="java.net.URLEncoder"%>
<%@page import="java.net.URLDecoder"%>
<%@page import="java.sql.ResultSet"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="database" scope="request" class="accessibleworldsdatabase.AccessibleWorldsDatabaseJavaBeans"/>
<jsp:useBean id="des" scope="request" class="accessibleworldsdes.AccessibleWorldsDESJavaBeans"/>
<%
database.connect(des.decryptString(des.getServiceSecretKey(), database.getEncryptedPassword()));
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Message deleted</title>
</head>
<body>
	<%
	String SQL="DELETE FROM `Admin_Messages` WHERE Message_ID=" + request.getParameter("deleteID")+"";
	

	database.updateSQL(SQL);
	%>
	
	<tt>Your request is processed</tt>
	
	<form action="UserPage.jsp">
		<button type="submit">Go Back</button>
	</form>
	
	
	
</body>
</html>